<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

Route::get('think', function () {
    return 'hello,ThinkPHP5!';
});

Route::get('index/index', 'index/index');
Route::get('quota/test', 'quota/test');
Route::get('user/login', 'user/login');
Route::get('user/reg', 'user/reg');
Route::get('user/forgetPwd', 'user/forgetPwd');
Route::get('user/regAggre', 'user/regAggre');
Route::get('user/regSuccess', 'user/regSuccess');

Route::get('aboutUs', 'user/aboutUs');
Route::get('layer', 'user/loyer');

// 获取报价
Route::get('baojia/', 'quota/index');
Route::get('baojia/:options', 'quota/getDeitailList');
Route::get('baojiadetail/:options', 'quota/getDeitail');


// 代办公司
Route::get('gs/getIntroduce/:id', 'company/getIntroduce');
Route::get('gs/getCompCase/:id', 'company/getCompCase');
Route::get('gs/getCompElite/:id', 'company/getCompElite');
Route::get('company/:id', 'company/getDeitail');
Route::get('gs/[:options]/[:page]', 'company/index');



// 咨询
Route::get('zx/', 'Consult/index');

Route::get('zxlist/[:id]/[:page]', 'Consult/constList');
Route::get('zx/:id', 'Consult/constDetail');


// 标准
Route::get('bz/', 'standard/index');
Route::get('bz/:options', 'standard/getDeitail');
//资质详情
Route::get('category/index/:id', 'category/getCategoyrDetail');
//获取报价详情
Route::get('quota/getOne/:supCateId/:subCateId/:level', 'quota/getOne');

//个人中心
Route::get('users/index', 'users/index');
Route::get('users/allOrders', 'users/allOrders');
Route::get('users/usersOrderDt/:id', 'users/usersOrderDt');

Route::get('users/usersSecurities', 'users/usersSecurities');
Route::get('users/usersCouption', 'users/usersCouption');
Route::get('users/usersSecureDetal', 'users/usersSecureDetal');
Route::get('users/companyInfor', 'users/companyInfor');
Route::get('users/companyCase', 'users/companyCase');
Route::get('users/companyAddCase', 'users/companyAddCase');
Route::get('users/companyEditCase/:id', 'users/companyEditCase');
Route::get('users/companyTeam', 'users/companyTeam');
Route::get('users/companyTeamAdd', 'users/companyTeamAdd');
Route::get('users/companyTeamEdit/:id', 'users/companyTeamEdit');

Route::get('users/companyAutonym', 'users/companyAutonym');
Route::get('users/companyReginNews', 'users/companyReginNews');
Route::get('users/companyAboutUs', 'users/companyAboutUs');
Route::get('users/testUpload', 'users/testUpload');

// 用户
Route::post('auth/checklogin',"auth/checklogin");
Route::get('categorys/list',"category/getAllCategoryList");


/**
 * wap apis
 */

//首页
Route::get('m/', 'wap/index/index');

Route::get('wap/user/reg', 'wap/user/reg');

// 代办公司
Route::get('wap/gs/[:options]', 'wap/company/index');
Route::get('wap/company/:id', 'wap/company/getDeitail');

// 获取报价
Route::get('m.baojia/', 'wap/quota/index');
Route::get('wap/baojia/:options', 'wap/quota/getDeitail');
// Route::get('quota/getDetailList/:supCateId/:subCateId', 'quota/getDeitailList');

// 标准
Route::get('wap/bz/', 'wap/standard/index');
Route::get('wap/bz/:options', 'wap/standard/getDeitail');

// 咨询
Route::get('wap/zx/', 'wap/Consult/index');
Route::get('wap/zxlist/:id', 'wap/Consult/constList');
Route::get('wap/zx/:id', 'wap/Consult/constDetail');

return [

];
